equations with exponents and variables